package com.jf.yytgd.entity.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * Created with IntelliJ IDEA
 * Description: 评论Bean
 * User:22954
 * Date:2025-01-12
 * Time:20:02
 */
@Data
public class Comment {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String relatedType;
    protected Integer relatedId;
    private Integer userId;
    private String text;
    private LocalDateTime createdAt;
    private Integer likes;
    private Integer comments;
}
